package net.vkits.anjiamiao.domain.model;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * Created by ethan-liu on 2016/12/29.
 */
public enum ComplainStatus {
    Submit(0,"提交申诉"), Accept(1,"通过审核"), Unaccepted(2,"未通过审核");
    private final int code;
    private final String value;

    ComplainStatus(int code, String value) {
        this.code = code;
        this.value = value;
    }

    @JsonValue
    public String getValue() {
        return this.value;
    }

    public int getCode() {
        return this.code;
    }
}
